package com.example.myshopping3.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.myshopping3.commons.CurUser;
import com.example.myshopping3.exceptions.BadPasswordException;
import com.example.myshopping3.exceptions.LockedException;
import com.example.myshopping3.exceptions.UserNameNotFoundException;
import com.example.myshopping3.model.User;

public interface UserService extends IService<User> {
    public CurUser login(String userName, String userPassword) throws BadPasswordException, LockedException, UserNameNotFoundException;
}
